package com.gxa.zhonglong.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 17728
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("员工实体类")
public class User implements Serializable {

  @ApiModelProperty(value = "员工实体类id")
  private Long id;
  @ApiModelProperty(value = "分店名称",required = true)
  private String sName;
  @ApiModelProperty(value = "分组名称",required = true)
  private String gName;
  @ApiModelProperty(value = "角色id",required = true)
  private Long rId;
  @ApiModelProperty(value = "员工姓名",required = true)
  private String name;
  @ApiModelProperty(value = "员工密码,不填,默认手机号后8位")
  private transient String pwd;
  @ApiModelProperty(value = "员工编码",required = true)
  private String code;
  @ApiModelProperty(value = "员工用户名",required = true)
  private String userName;
  @ApiModelProperty(value = "员工身份证号",required = true)
  private String identity;
  @ApiModelProperty(value = "员工手机号",required = true)
  private String phone;
  @ApiModelProperty(value = "员工在职状态",required = true,dataType = "boolean")
  private Boolean state;
  @ApiModelProperty(value = "头像图片地址")
  private String imgUrl;

}
